<?php
class CallorderModel extends CommonModel {
    protected $_validate	 =	 array(
		array('phone_num','require','手机号码不能为空！',1),
		);
    
    public function get_callorder_child($order_id){
        $model_child = M('CallOrderChild');
        if($order_id>0){
        $where = " order_id = $order_id";
           $rs = $model_child ->where($where)->select();
        }else{
           $rs = null;
        }
        return $rs;
    }
    
    
    }	
?>